package com.ruoyi.module.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户评论对象 fu_evaluate
 *
 * @author fubojin
 * @date 2024-12-16
 */
@Data
public class Evaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;
    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;
    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;
    /** 显示类型（1-商品评价，2-订单评价） */
    private Integer type;
    /** 评分 */
    @Excel(name = "评分")
    private Integer score;
    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;
    /** 用户头像 */
    @Excel(name = "用户头像")
    private String img;
    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;
    /** 评价内容 */
    @Excel(name = "评价内容")
    private String content;

}
